<template>
  <nav>
    <router-link to="/home">首页</router-link> |
     <router-link to="/comics">漫画</router-link>
  </nav>
  <router-view/>
</template>

<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
.clears{
  clear: both;
  height: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
ul,li,ol{
  list-style: none;
}
a{
  text-decoration: none;
}
img{
  border: none;
}
nav {
  padding: 30px;
  font-size: 30px;
  width: 50%;
  text-align: center;
  margin: 0 auto;
  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
